package boardgamer.common.client;

import android.graphics.RectF;

/**
 * @author garysoed
 */
public interface HasEventHandler {

  /**
   * Possibly calls {@link EventHandler#onEvent}, depending on the implementation
   */
  void handleEvent(float eventX, float eventY, int eventAction);

  RectF getCollisionBox();

  public interface EventHandler {

    void onEvent(float eventX, float eventY, int eventAction);
  }
}
